package com.learning.dubbo.protocol.http.consumer;

import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * ClassName: SpringBootDubboConsumerApplication
 * Description: 消费客户端
 * http://localhost:9000/dubbo/doSayHi?name=springboot
 * Date: 2020/6/15 13:43 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@Slf4j
@SpringBootApplication
@EnableDubbo(scanBasePackages = "com.learning.dubbo.protocol.http.consumer")
public class DubboProtocolHttpConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DubboProtocolHttpConsumerApplication.class, args);
        log.info("~~~~~ DubboProtocolHttpConsumerApplication 启动成功 ~~~~~~~");
    }

}
